package com.groupwork.resourcemonitorcommon.constants;


/**
 * 通用常量信息
 */
public class Constants {

    /**
     * user_id
     */
    public static final String USER_ID = "user_id";


    /**
     * 默认头像
     */
    public static final String DEFAULT_PORTRAIT = "http://q3z3-im.oss-cn-beijing.aliyuncs.com/61bed1c563de173eb00e8d8c.png";

    /**
     * 注销昵称
     */
    public static final String DELETED_NICK_NAME = "已注销";

    /**
     * 用户二维码
     */
    public static final String QR_CODE_USER = "user:";

    /**
     * 群组二维码
     */
    public static final String QR_CODE_GROUP = "group:";

    /**
     * 视频参数
     */
    public static final String VIDEO_PARAM = "?x-oss-process=video/snapshot,t_1000,f_png,w_600,m_fast";

    /**
     * 新建群名称：好友创建通知
     */
    public static final String GROUP_CREATE_NAME = "{}的群聊-{}";

    /**
     * 不是你的好友
     */
    public static final String FRIEND_NOT_EXIST = "对方不是你的好友";

    /**
     * 通知：好友创建通知
     */
    public static final String NOTICE_FRIEND_CREATE = "你们已经是好友啦，现在开始聊天吧";

    /**
     * 通知：群组创建通知
     */
    public static final String NOTICE_GROUP_CREATE_MASTER = "你邀请{}加入了群聊";

    /**
     * 通知：群组创建通知
     */
    public static final String NOTICE_GROUP_CREATE_MEMBER = "{}邀请你加入了群聊";

    /**
     * 通知：群组退出通知
     */
    public static final String NOTICE_GROUP_LOGOUT = "{}退出了群聊";

    /**
     * 通知：群组转让通知
     */
    public static final String NOTICE_GROUP_TRANSFER = "你已成为新群主";

    /**
     * 通知：群组加入通知
     */
    public static final String NOTICE_GROUP_JOIN = "{}加入了群聊";

    /**
     * 通知：群组踢出通知
     */
    public static final String NOTICE_GROUP_KICKED_MASTER = "{}被移出群聊";

    /**
     * 通知：群组踢出通知
     */
    public static final String NOTICE_GROUP_KICKED_MEMBER = "你被移出群聊";

    /**
     * 通知：群组解散通知
     */
    public static final String NOTICE_GROUP_DISSOLVE = "群主解散了群聊";

    /**
     * 通知：群组改名
     */
    public static final String NOTICE_GROUP_EDIT = "{}修改群名为“{}”";

    /**
     * 通知：群组公告
     */
    public static final String NOTICE_GROUP_NOTICE = "{}修改群公告为“{}”";

    /**
     * 帖子_通知
     */
    public static final String REDIS_TOPIC_NOTICE = "topic:notice:";

    /**
     * 帖子_回复
     */
    public static final String REDIS_TOPIC_REPLY = "topic:reply:";

    /**
     * 好友_通知
     */
    public static final String REDIS_FRIEND_NOTICE = "friend:notice:";

    /**
     * redis_附近的人
     */
    public static final String REDIS_NEAR = "chat:near";

    /**
     * redis_摇一摇
     */
    public static final String REDIS_SHAKE = "chat:shake";

    /**
     * redis_摇一摇
     */
    public static final String REDIS_GEO = "chat:geo";

    /**
     * redis_消息
     */
    public static final String REDIS_MSG = "chat:msg:{}:{}";

    /**
     * redis_消息(天数)
     */
    public static final Integer REDIS_MSG_TIME = 7;

    /**
     * redis_天气
     */
    public static final String REDIS_MP_WEATHER = "mp:weather:{}:{}";

    /**
     * redis_天气(分钟)
     */
    public static final Integer REDIS_MP_WEATHER_TIME = 30;

    /**
     * redis_好友
     */
    public static final String REDIS_FRIEND = "chat:friend:{}:{}";

    /**
     * redis_好友(天)
     */
    public static final Integer REDIS_FRIEND_TIME = 60;

    /**
     * redis_群组
     */
    public static final String REDIS_GROUP_INFO = "chat:group:{}:{}";

    /**
     * redis_群组(天)
     */
    public static final Integer REDIS_GROUP_TIME = 60;

    /**
     * redis_实时音视频_签名
     */
    public static final String REDIS_TRTC_SIGN = "chat:trtc:sign:";

    /**
     * redis_实时音视频_用户前缀
     */
    public static final String REDIS_TRTC_USER = "u";

}
